<!-- #region setup -->
<script lang="ts" setup>
import { BytFormSearch } from "@byt/components";
import { NFormItemGi, NInput } from "naive-ui";
import { ref } from "vue";
const requestParams = ref({});
const search = () => {};
const resetQuery = () => {};
</script>
<!-- #endregion setup -->

<!-- #region first -->
<BytFormSearch
  closeActionSpan="1"
  expansionActionSpan="2"
  @search="search"
  @reset="resetQuery">
  <n-form-item-gi label="设备编号:">
  <n-input
      :allow-input="noSideSpace"
      v-model:value="requestParams.sn"
      placeholder="设备编号"
      />
  </n-form-item-gi>
  <n-form-item-gi label="设备名称:">
  <n-input
      :allow-input="noSideSpace"
      v-model:value="requestParams.installLocation"
      placeholder="设备名称"
      />
  </n-form-item-gi>
  <n-form-item-gi label="网络状态:">
  <n-input
      :allow-input="noSideSpace"
      v-model:value="requestParams.ab"
      placeholder="网络状态"
      />
  </n-form-item-gi>
  <template #hiddenForm>
    <n-form-item-gi label="设备状态:">
          <n-input
        :allow-input="noSideSpace"
        v-model:value="requestParams.state"
        placeholder="设备状态"
        />
    </n-form-item-gi>
    <n-form-item-gi label="店铺名称:">
            <n-input
        :allow-input="noSideSpace"
        v-model:value="requestParams.state"
        placeholder="设备状态"
        />
    </n-form-item-gi>
    <n-form-item-gi label="店铺分类:">
                <n-input
        :allow-input="noSideSpace"
        v-model:value="requestParams.state"
        placeholder="设备状态"
        />
    </n-form-item-gi>
  </template>
</BytFormSearch>
<!-- #endregion first -->
